package com.soladhoc.annonces.shared.proxy;

import java.util.Date;

import com.google.web.bindery.requestfactory.shared.ProxyFor;
import com.google.web.bindery.requestfactory.shared.ValueProxy;
import com.googlecode.objectify.Key;
import com.soladhoc.annonces.server.domain.Annonce;

@ProxyFor(Annonce.class)
public interface AnnonceProxy extends ValueProxy {

	String getText();
	void setText(String text);
	
	String getTitle();
	void setTitle(String title);
	
	Date getCreationDate();
	void setCreationDate(Date date);
	boolean getPublished();
	
	Key<AnnonceProxy> getKey();
}
